<div class="box-header">
<div id="content">
<h3>Manage Categories</h3>
</div>
<div id="button-search">
<form action="<?php echo $this->baseUrl('/admin/viewlog/getsearch')?>" method="post" name="form-search">
<input type="text" id="text-search" name="text-search"/>
<input type="submit" value="Search" name="Search">
</form>
</div>
</div>
<div class="box-table-log">
<table>
      <tr>
      				<th><input type="checkbox" name="checkall" id="checkall"/></th>
                    <th>Username</th>
                    <th>IP Address</th>
                    <th>Group Name</th>
                    <th>Log Number</th>
                    <th>Active</th>
                    <th>Registry Date</th>
                    <th>Access Date</th>
                    <th>Operation</th>
     	</tr>
     	<?php foreach ($this->paging as $key=>$value){?>
                    <tr id="<?php echo $value['id_log']?>">
                    <td><input type="checkbox" class="table-checkbox" name="checkbox[]" id="checkbox[]" value="<?php echo $value['id_log']?>"/></td>
                    <td><?php echo $value['username']?></td>
                    <td>192.168.255.255</td>
                    <td><?php echo $value['name_group']?></td>
                    <td><?php echo $value['lognumber']?></td>
                    <td><?php echo $value['active']?></td>
                    <td><?php echo $value['registrydate']?></td>
                    <td><?php echo $value['accessdate']?></td>
                    <td>
                    <span><a href="javascript:void(0)" onclick="javascript:del(<?php echo $value['id_log']?>)"><img src="<?php echo $this->imgs?>/trash.png" alt="delete"/></a></span>
                     </td>
                    </tr>
                    <?php }?>
</table>
<?php echo $this->paginationControl($this->paging,'Jumping','viewlog/paging.phtml')?>
</div>